<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			function getmytime() {

				var d = new Date();
				var s = "现在是 ：  " + (d.getFullYear()) + "年" + (d.getMonth() + 1) + "月" + (d.getDate()) + "号" + d.getHours() + "时" + (d.getMinutes()) + "分" + (d.getSeconds()) + "秒"+"<br/>" ;
				document.write(s);
				document.close();
			}
			setInterval("getmytime()", 1000);
		</script>
	</head>
	<body>
<div></div>
	</body>

</html>